package com.ins.model.dto.app;

import com.ins.model.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 钱包(AppWallet)实体类
 *
 * @author ins
 * @since 2024-05-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AppWalletDTO extends BaseDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 926375170045100659L;

    private Integer userId;
    /**
     * 钱包总收入额
     */
    private BigDecimal income;
    /**
     * 钱包总支出额
     */
    private BigDecimal outcome;
    /**
     * 钱包总可用余额
     */
    private BigDecimal balance;

}

